cmake_minimum_required(VERSION 3.12)

# Pull in SDK (must be before project)
include(pico_sdk_import.cmake)

project(pico_examples C CXX ASM)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)


# Initialize the SDK
pico_sdk_init()


set(WIZNET_DIR ${CMAKE_SOURCE_DIR}/library/ioLibrary_Driver)
set(PORT_DIR ${CMAKE_SOURCE_DIR}/port)
set(APP_DIR ${CMAKE_SOURCE_DIR}/app)

add_subdirectory(examples)
add_subdirectory(library)
add_subdirectory(port)
add_subdirectory(app)